import Vue from 'vue'
import App from './App'
import VueAxios from 'vue-axios'
import axios from 'config/axios'
import router from './router'
import Global from './global'
import Header from './components/Header'
import Footer from './components/Footer'
import Layout from './components/Layout'
import '@/assets/stylus/base.styl'
import './element-ui.js'
import '@/assets/iconfont/iconfont.css'
import echarts from 'echarts'

Vue.config.productionTip = false
Vue.prototype.$echarts = echarts
Vue.use(VueAxios, axios)
Vue.use(Header)
Vue.use(Footer)
Vue.use(Layout)
Vue.use(Global)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
